<!-- 借领用表格 -->

<template>
  <div>
    <MajorTitle :title="MAP.TABLE_NAME" />

    <WebTable :fullCutHeight="56">
      <RowDate label="时间" bind="changeTime" width="auto" />
      <RowText label="单号" bind="changeCode" />
      <RowText :label="`${CORE.MAP.ASSET}名称`" bind="assetName" :minWidth="120" />
      <RowText :label="`${CORE.MAP.ASSET}编号`" bind="assetCode" />
      <RowTree :label="`所属${CORE.MAP.ORGAN}`" bind="assetDeptId" :dict="CORE.ORGAN.DICT" :minWidth="120" />
      <RowTree :label="`借用/领用${CORE.MAP.ORGAN}`" bind="applicantDeptId" :dict="CORE.ORGAN.DICT" :minWidth="120" />
      <RowText label="申请人" bind="applicantName" />
    </WebTable>
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'BorrowTable',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb()],
}
</script>
